OTP\Handler\Forms\WPFormsPlugin A

Total Complexity 62
Dependencies 7
Dependents 0
Total lines 306
Lines of code 218
Logical lines of code 133
Comment lines 0
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
validateForm()
S
59 8 13
getFieldIDs()
S
60 7 11
handleForm()
S
56 5 16
parseFormDetails()
S
55 4 19
checkIntegrity()
S
60 4 13
getPhoneNumberSelector()
S
68 4 7
handleFormOptions()
S
61 3 12
__construct()
S
56 2 18
getFormDataFromID()
S
69 3 6
processPhone()
S
65 3 8
processEmail()
S
65 3 8
checkIntegrityAndValidateOTP()
S
60 2 13
_processPhoneAndSendOTP()
S
62 2 11
_processEmailAndSendOTP()
S
62 2 11
mo_enqueue_wpforms()
S
56 1 18
checkIfOTPSent()
S
69 2 7
_send_otp()
S
68 2 7
getSessionDetails()
S
71 1 6
handle_failed_verification()
S
80 1 3
handle_post_verification()
S
80 1 3
unsetOTPSessionVariables()
S
79 1 3
processFormAndValidateOTP()
S
75 1 5